//
//  ModuleFirst_TopicDetailsBigModel.m
//  艾听歌
//
//  Created by dllo on 16/5/28.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ModuleFirst_TopicDetailsBigModel.h"

#import "ModuleFirst_TopicDetailsRowModel.h"



@implementation ModuleFirst_TopicDetailsBigModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if ([key isEqualToString:@"id"]) {
        
        self.idd = value;
    }
    
    
    
}


- (void)setArticle_sections:(NSMutableArray *)article_sections{
    
    _article_sections = article_sections;
    
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in article_sections) {
        
            ModuleFirst_TopicDetailsRowModel *rowModel = [[ModuleFirst_TopicDetailsRowModel alloc]init];
            [rowModel setValuesForKeysWithDictionary:dic];
            
            [array addObject:rowModel];
    }
    
    _article_sections = [NSMutableArray arrayWithArray:array];
    
    
}




@end
